import styled from 'styled-components'

import border from 'components/styled/border.js'



const TitlebarStyled = border({
  width: '0 0 1px 0',
  comp: styled.div`
    background : ${props => props.background};
    /* position: absolute; */
    position: relative;
    bottom: 0;
    width:${props => props.width?props.width:'100%'};
    height:${props => props.height};
    flex-grow:0;
    flex-shrink:0;
    
    display: flex;
    align-items : center;
  `
})

export { TitlebarStyled }